/* 公共样式 */

@charset "utf-8";
* {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none
}

body {
    background-color: #F7F7F7;
    font-family: "微软雅黑";
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 内容样式 */

.page-chat-contain {
    width: 1024px;
    height: 1100px;
    background-color: #f4f4f4;
    margin-left: 300px;
}

.page-chat-top {
    width: 100%;
    height: 60px;
    line-height: 60px;
    background: #D23D38;
}

.page-registe a {
    margin-right: 35px;
    color: #fff;
}

.page-chat-box {
    position: relative;
    width: 954px;
    height: 730px;
    margin: 20px 35px;
    background: #efefef;
    border-radius: 5px;
}

.page-chat-dec {
    width: 100%;
    height: 200px;
    background: #fafafa;
    border-bottom: 2px solid #eeeeee;
}

.chat-dec-compant {
    height: 25px;
    padding: 20px 0 0 20px;
}

.chat-dec-compant span {
    font-family: PingFangSC-Medium;
    font-size: 18px;
    color: #333333;
    text-align: center;
}

.chat-money {
    height: 20px;
    padding: 20px 0 0 20px;
}

.text-span {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #999999;
    line-height: 14px;
}

.money-span {
    font-family: PingFangSC-Medium;
    font-size: 20px;
    color: #c04a43;
    line-height: 14px;
}

.chat-change-type {
    width: 100%;
}

.chat-type-item {
    position: relative;
    height: 30px;
    margin-right: 120px;
    line-height: 25px;
}

.chat-type-item img {
    position: absolute;
    top: 2px;
}

.chat-actor {
    position: relative;
    width: 100%;
    height: 80px;
    line-height: 80px;
}

.chat-image {
    margin-left: 70px;
}

.name-font {
    font-family: PingFangSC-Medium;
    font-size: 16px;
    color: #333333;
}

.compant-font {
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #6D6D6D;
}

.chat-image img {
    width: 45px;
    height: 45px;
    position: absolute;
    top: 18px;
    left: 20px;
}

.page-chat-detail {
    width: 100%;
    height: 560px;
    background: #f9f9f9;
    border-bottom: 2px solid #eeeeee;
    overflow: auto;
    padding-bottom: 40px;
}

/* 交换(成功)聊天方式样式（左右） */

.ask-exchange-right {
    position: relative;
    margin-top: 20px;
}

.ask-exchange-left {
    position: relative;
    margin-top: 20px;
}

.ask-exchange-success-right {
    position: relative;
    margin-top: 20px;
}

.ask-exchange-success-left {
    position: relative;
    margin-top: 20px;
}

.ask-exchange-success-left img {
    position: absolute;
    top: 0px;
    right: 20px;
    width: 53px;
    height: 52px;
}

.ask-change-success-contain-left {
    width: 200px;
    height: 60px;
    background: #fff;
    margin-right: 85px;
    border-radius: 4px;
}

.ask-exchange-success-right img {
    position: absolute;
    top: 0px;
    left: 20px;
    width: 53px;
    height: 52px;
}

.ask-change-success-contain {
    width: 200px;
    height: 60px;
    background: #fff;
    margin-left: 85px;
    border-radius: 4px;
}

.ask-exchange-left img {
    position: absolute;
    top: 0px;
    right: 20px;
    width: 53px;
    height: 52px;
}

.ask-change-contain-right {
    width: 200px;
    height: 109px;
    background: #fff;
    margin-right: 85px;
    border-radius: 4px;
}

.ask-exchange-right img {
    position: absolute;
    top: 0px;
    left: 20px;
    width: 53px;
    height: 52px;
}

.ask-change-contain {
    width: 200px;
    height: 109px;
    background: #fff;
    margin-left: 85px;
    border-radius: 4px;
}

.ask-change-text {
    position: relative;
    width: 100%;
    border-bottom: 1px solid #eaeaea;
}

.ask-text {
    width: 140px;
    height: 40px;
    padding: 10px 10px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #333333;
}

.ask-change-text img {
    position: absolute;
    top: 15px;
    left: 160px;
    width: 22px;
    height: 34px;
}

.ask-result {
    display: flex;
    line-height: 50px;
    text-align: center;
}

.ask-item {
    flex: 1;
}

/* 聊天气泡板块（左右） */

.chat-box-left {
    position: relative;
    margin: 20px 0;
}

.chat-box-right {
    position: relative;
    margin: 20px 0;
    display:flex;
    justify-content:flex-end;
}

.chat-box-left img {
    position: absolute;
    top: 0px;
    left: 20px;
    width: 53px;
    height: 52px;
}

.chat-box-right img {
    position: absolute;
    top: 0px;
    right: 20px;
    width: 53px;
    height: 52px;

}

.chat-box {
    position: relative;
    left: 100px;
    top: 4px;
    display: inline-block;
    max-width: 60%;
    padding: 12px;
    word-break: break-all;
    background: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.chat-box:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    right: 100%;
    top: 14px;
    border-top: 4px solid transparent;
    border-right: 8px solid #fff;
    border-bottom: 4px solid transparent;
}

.box-right {
    position: relative;
    top: 4px;
    right: 90px;
    display: inline-block;
    max-width: 60%;
    padding: 12px;
    word-break: break-all;
    background: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;

}

.box-right:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 100%;
    border-top: 4px solid transparent;
    border-left: 8px solid #fff;
    border-bottom: 4px solid transparent;
}

/* 拒绝对方请求样式 */

.reject-exchange {
    width: 100%;
    height: 80px;
    margin-top: 20px;
    text-align: center;
}

.reject-time {
    font-family: PingFangSC-Regular;
    font-size: 18px;
    color: #333333;
}

.reject-text {
    width: 183px;
    height: 25px;
    line-height: 25px;
    background: rgba(0, 0, 0, 0.20);
    border-radius: 4px;
    margin: 10px auto;
}
.reject-text span{
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
}

/* 聊天结束 */

.chat-ending {
    width: 100%;
    display: flex;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
}

.chat-ending-line {
    width: 40px;
    height: 0px;
    border: 1px solid #dbdcdd;
}

.chat-ending-text {
    margin: 0 8px;
    color: #8a8a8b;
}

/* input样式 */

.page-chat-input {
    width: 100%;
    height: 150px;
    background: #fafafa;
    padding-top: 20px;
}

.chat-input-box {
    position: relative;
    width: 914px;
    height: 57px;
    margin: 0 auto;
    border: 1px solid #E9E9E9;
    text-align: center;
    box-shadow: inset 1px 0 1px 2px rgba(0, 0, 0, 0.10);
    border-radius: 5px;
}

.chat-input-box input {
    width: 914px;
    height: 57px;
    border: none;
    font-family: PingFangSC-Regular;
    font-size: 18px;
    color: #333333;
    text-align: justify;
}

.page-botton-fl {
    position: relative;
    width: 200px;
}

.usu-text {
    width: 54px;
    height: 36px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    line-height: 36px;
    background: #D03F3D;
    border-radius: 3px;
    margin-left: 20px;
    margin-top: 20px;
}

.face-image {
    position: absolute;
    top: 22px;
    left: 90px;
}

.photo-image {
    position: absolute;
    top: 22px;
    left: 140px;
}

.page-botton-fr {
    width: 80px;
    height: 36px;
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #FFFFFF;
    text-align: center;
    line-height: 36px;
    background: #D03F3D;
    border-radius: 3px;
    margin-right: 20px;
    margin-top: 20px;
}
/* 常用语板块样式 */
.page-common-language{
    position: absolute;
    bottom:-155px;
    left:18px;
    width:440px;
    height: 200px;
    border-radius: 4px;
    background:#fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.20);
    display: none;
}
.common-language-contain{
    width:100%;
    height:150px;
    overflow: scroll;
}
.common-language-contain-item{
    width: 100%;
    padding:10px;
}
.language-contain-fl{
    width: 340px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.language-contain-fr{
    width: 60px;
}
.common-language-dec{
text-align: center;
line-height: 50px;
}
.common-language-dec span{
    font-family: PingFangSC-Regular;
    font-size: 14px;
    color: #6D6D6D;
}
/* 表情栏目样式 */
.page-face-contain{
    position: absolute;
    bottom:-155px;
    left:18px;
    width:440px;
    height: 200px;
    border-radius: 4px;
    background:#fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.20);
    display: none;
}